<template>
    <section class="contentProfile">
        <div class="content_left">
            <div class="wrap_wallet">
                <div class="wallet iconfont" @click="navigationTo({ name: 'wallet' })">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-ziyuan" />
                    </svg>
                    <span class="wallet-name">{{ $t("profile.wallet") }}</span>
                </div>
            </div>
        </div>
        <div class="content_right">
            <div class="wrap_putOut">
                <div class="put-out iconfont" @click="navigationTo({ name: 'issue-order' })">
                    <svg class="icon" aria-hidden="true">
                        <use xlink:href="#icon-fabu" />
                    </svg>
                    <span class="put-name">{{ $t("profile.issueOrder") }}</span>
                </div>
            </div>
        </div>
    </section>
</template>

<script>
export default {
    name: 'content-profile',
    methods: {
        navigationTo (path) {
            if (this.$util.checkUserLogin(this)) {
                this.$router.push(path);
            }
        }
    }
};
</script>

<style scoped lang="less" src="./less/content-profile.less"></style>
